package com.godyao.mall.order;

import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.boot.autoconfigure.domain.EntityScan;
import org.springframework.data.jpa.repository.config.EnableJpaRepositories;
import org.springframework.transaction.annotation.EnableTransactionManagement;

/**
 * @author godyao
 * @date 2022/4/1
 */
@EnableTransactionManagement
@EntityScan(basePackages = "com.godyao.mall.order.model")
@EnableJpaRepositories(basePackages = "com.godyao.mall.order.repository")
@SpringBootApplication
public class MallOrderApplication {
    public static void main(String[] args) {
        SpringApplication.run(MallOrderApplication.class, args);
    }
}
